package com.love.cloud.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.love.cloud.admin.api.dto.CustomGroupDto;
import com.love.cloud.admin.api.entity.SysCustomGroup;
import com.love.cloud.admin.api.vo.CustomGroupChangeVo;

import java.util.List;

/**
 * @author hongdongqu
 */
public interface SysCustomGroupService extends IService<SysCustomGroup> {
    /**
     * 保存数据
     * @param sysCustomGroup
     * @return
     */
    Object saveData(SysCustomGroup sysCustomGroup);
    /**
     * 自定义组成员修改
     * @param customGroupChangeVo
     * @return
     */
    Object change(CustomGroupChangeVo customGroupChangeVo);
    /**
     * 通过用户id获取到组信息
     * @param userId
     */
    List<CustomGroupDto> getGroupDataByUserId(Long userId);
}
